home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / basic / flwchrt.com / FLOWCHRT.DOC < prev    next >
Encoding:
Text File  |  1986-01-23  |  7.9 KB  |  185 lines

  1.    ░░░░░░       ░░░░░░               ║ ║ ╔═╗ ╔═╗ ╔═╗  ═╦═   ╔══ ╔═╗ ╔══ ═╦═
  2.  ░░░░░░░░░░░ ░░░░░░░░░░░             ╠═╣ ╠═╝ ╠═╣ ╠═╩╗  ║  ═ ╚═╗ ║ ║ ╠═   ║
  3. ░░░░░░░░_░_░░░░░░░░░░░░░░            ║ ║ ╚══ ║ ║ ║  ║  ║    ══╝ ╚═╝ ║    ║
  4. ░░░░░░░/_/\/\░░░░░░░░░░░░
  5.  ░░░░░░\_\  /░░░░░░░░░░░                F L O W C H R T  (Ver: 1.1)
  6.   ░░░░░/_/  \░░░░░░░░░░                 (BASIC PROGRAM FLOWCHARTER)
  7.    ░░░░\_\/\ \░░░░░░░░                   (c) Copyright 1985, 1986
  8.      ░░░░░\ \ \░░░░░                 By Lynn R. Lively.  All Rights Reserved.
  9.       ░░░░░\ \░░░░░
  10.        ░░░░░░░░░░░          Flowchrt is distributed on a User Supported basis.
  11.          ░░░░░░░ \          The User is given permission to copy and distribute
  12.            ░░░\_\/          this software as long as the program is unmodified
  13.             ░               and no more than $5 is charged (for copy service).
  14. "Give, and it will be       If you find this software to be of value, please
  15.  given to you; good         send a $25 contribution to:┌────────────────────┐
  16.  measure, pressed down,                                │ World Vision       │
  17.  shaken together, running      Source is available     │ P.O. Box O         │
  18.  over, will be put into.       by sending $100 to:     │ Pasadena, CA 91109 │
  19.  your lap.  For the measure ┌──────────────────────────┴────────────────────┴─┐
  20.  you give will be the       │ Lynn R. Lively, 3718 Las Palmas,Houston,TX 77027│
  21.  measure you receive."      └─────────────────────────────────────────────────┘
  22.    - Luke 6.38 -            Also send any comments/suggestions to this address.
  23.  
  24.  
  25.            I'm asking $100 dollars for the source, but if you sen me a photostat
  26.      of your contribution reciept you can have it for $40.
  27.      Send and sugestions/comments to the above address or call DG-HAUS BBS
  28.      at 681-9629 between 6PM - 8am.
  29.  
  30.            God has burdened my heart with the plight of all the people
  31.      in this world who don't know where their next meal will come from (or
  32.      if). I hope you will join with me and others to help eradicate hunger
  33.      as a cause of death on this earth. I know this sounds impossible, and
  34.      it surely is if we do nothing about it. We can at least make a very
  35.      large dent in this problem. I am working on other software to
  36.      distribute in the same manner. I pray that the Lord may see fit to let
  37.      this concept catch on and use it to further His work in the world.
  38.      Heart-Soft is more of a concept than a company.  My desire is to make it
  39.      easy for you to justify helping someone else.  I hope the concept will
  40.      catch on.  If you feel as I do let me know.
  41.  
  42.                           Flowchrt Operating Instructions
  43.  
  44.      Two files are required to run Flowchrt.  They are 'FLOWCHRT.EXE' and
  45.      'FLOWCHRT.001'.  FLOWCHRT.001 must be in your working directory but
  46.      FLOWCHRT.EXE may be found by a path.
  47.  
  48.          To run Flowchrt type 'FLOWCHRT' from the MSDOS prompt.  The program
  49.      will display the Heart-Soft initial screen.  Type any key to continue.
  50.      You will now be asked three questions that may seem strange.
  51.  
  52.      MAX FORWARD REFERENCES TO TRAK: [19]
  53.  
  54.      MAX BACKWARD REFERENCES TO TRAK: [19]
  55.  
  56.      MAX CHARS OF SOURCE LINE TO DISPLAY PER DISPLAY LINE: [40]
  57.  
  58.      These refer to how the program will appear.
  59.      Flowchrt displays your program in three columns source line, forward
  60.      references, and backward references.  The questions refer to how many print
  61.      positions you want to dedicate to each.  The default settings are shown
  62.      in the square brackets.  Next you will see this message.
  63.  
  64.      Total output line size is  79
  65.  
  66.                             Is this correct? (Y,N)
  67.  
  68.      Notice that if you took the defaults this number is 1 greater than the
  69.      sum of the numbers.  This is because I put a space after the display line
  70.      just to keep things looking pretty.  If you need to you can specify upto
  71.      104 positions for forward/backward references and upto 80 for the source
  72.      line.  If the settings match your requirements answer 'Y' to the question
  73.      (Note: You will only be asked these questions once per program execution).
  74.      Next you will be asked to enter the input filespec.  You may type a
  75.      pathname in here if you like.  The file must have been saved with the 'A'
  76.      option on the save command (This makes the BASIC program int just another
  77.      ASCII text file).  Next you will be asked to enter the output filespec.
  78.      You may send the program to any valid file or devicename you like (If
  79.      you have a hard disk, you will find it faster to send the flowchart out to
  80.      a disk file).  Next you will be asked to specify a heading line for the
  81.      flowchart.  This option allows you to put your own heading on the
  82.      flowchart.  You can also use this line to enter any escape sequences or
  83.      such to set up your printer.  Once you hit return you're off and running.
  84.      When Flowchrt finishes it will beep and ask you if you want to exit.  If
  85.      you need flowcharts of several programs say 'N' and you will be asked for
  86.      another input filespec.  Here is an example flowchart generated by
  87.      Flowchrt.
  88.  
  89.  
  90. FLOWCHART OF EXAMPLE.BAA AS OF 01-23-1986 19:00:57
  91.  
  92. 10
  93.    'EXAMPLE OF A VERY POOR PROGRAM
  94. 20                                                          <
  95.    GOTO 60                               >                  A
  96. 30                                       a                  A<
  97.    GOSUB 80                              a>                 AB
  98. 40                                       ab                 AB
  99.    IF A=B                                ab                 AB
  100.    THEN GOTO 20                          ab                 >B
  101. 50                                       ab                 AB
  102.    IF A=B THEN GOSUB 60                  >b                 AB
  103.    : GOSUB 80                            a>                 AB
  104.    : GOTO 20                             ab                 >B
  105. 60                                       <b                  B
  106.    IF A=B THEN 80                         >                  B
  107.    ELSE 30                                b                  >
  108. 70                                        b
  109.    ON A GOSUB 90,100,110                 >b>>
  110. 80                                       a<cd
  111.    'THIS GOTO 20 AND GOSUB 20 ARE        a cd
  112.    IGNORED                               a cd
  113. 90                                       < cd
  114.    PRINT"LINES WILL BE BROKEN OUT AT       cd
  115.    :"                                      cd
  116.    : PRINT "I DON                          cd
  117.    'T CHECK TO SEE IF ITS WITHIN DOUBLE    cd
  118.    QUOTES"                                 cd
  119.    : PRINT "BUT THIS SHOULDN               cd
  120.    'T HAPPEN THAT OFTEN ANYWAY"            cd
  121. 100                                        <d
  122.     REM THIS GOTO 10 IS IGNORED ALSO        d
  123. 110                                         <
  124.     'AS YOU CAN SEE THIS PROGRAM READS
  125.     LIKE SPAGETTI AND IS ALL TO TYPICAL
  126.     OF THE CODE YOU MAY BE ASKED TO
  127.     MODIFY.  THE PURPOSE IS TO TRY AND
  128.     GENERATE SOME SENSE OF ORDER."
  129. 120
  130.     'NOTICE VERY LONG LINES ARE BROKEN
  131.     AT CONVENIENT PLACES IF POSSIBLE.
  132.     IF NOT YOU WILL PROBABLY GET
  133.     SOMETHING LOOKING LIKE THIS"
  134. 130
  135.     'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  136.     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  137.     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  138.     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  139.     XX
  140.     '
  141.  
  142. CROSS REF OF 'GO' LINE TO TARGET(s)
  143.  
  144. GO LINE   TARGET(s)
  145.  20
  146.            60
  147.  30
  148.            80
  149.  40
  150.            20
  151.  50
  152.            60  80  20
  153.  60
  154.            80  30
  155.  70
  156.            90  100  110
  157.  
  158. CROSS REF OF 'TARGET' LINE TO GO(s)
  159.  
  160. TARGET    GO LINE(s)
  161.  20
  162.            50  40
  163.  30
  164.            60
  165.  60
  166.            50  20
  167.  80
  168.            50  60  30
  169.  90
  170.            70
  171.  100
  172.            70
  173.  110
  174.            70
  175.          60
  176.  60
  177.            50  20
  178.  80
  179.            50  60  30
  180.  90
  181.            70
  182.  100
  183.            70
  184.  110
  185.